page {
    background-color: #f9f8f8;
}

.van-dropdown-item__option {
    text-align: left;
    background: #db2828;
    color: #fff;
    width: 155rpx;
}

.van-dropdown-item__option--active {
    background: #fff;
    color: #db2828;
    width: 155rpx;
}

// 头部卖书规则样式
.header_wrap {
    display: flex;
    justify-content: center;

    .header {
        width: 90%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: 2rpx solid #e40a5e;
        border-radius: 15rpx;
        margin-top: 20rpx;
        height: 60rpx;
        background-color: #fff;
        .scan_img {
            width: 40rpx;
            height: 50rpx;
            margin-left: 20rpx;
        }

        .right-arrow {
            width: 40rpx;
            height: 50rpx;
        }

        .header-text {
            font-size: 30rpx;
            color: #e40a5e;
            font-weight: bold;
        }
    }

}

// 遮罩层的样式
.mask {
    width: 100%;
    height: 100%;
    background-color: rgba(56, 55, 55, 0.651);
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 90;
}

// 弹窗的样式
.windows {
    width: 90%;
    height: 950rpx;
    background-color: white;
    position: fixed;
    bottom: 150rpx;
    z-index: 95;
    display: flex;
    flex-direction: column;
    margin-left: 38rpx;
    border-radius: 25rpx;

    // 返回箭头
    .cancel_wrap {
        margin: 30rpx 30rpx;
        .cancel {
            width: 50rpx;
            height: 40rpx;
        }
    }

    // 上传照片
    .inBookImg {
        display: flex;
        margin-left: 30rpx;
        margin-top: 10rpx;
        margin-bottom: 10rpx;

        .photos {
            display: flex;
        }
    }

    // 输入书名
    .inBookName {
        margin: 20rpx 40rpx 0 30rpx;
        height: 60rpx;
        font-size: 40rpx;
    }

    // 新旧程度
    .level {
        font-size: 40rpx;
        display: flex;
        overflow: hidden;
        border-top: 1rpx solid #bebebe;
        margin: 0 30rpx;
        margin-top: 10rpx;
        padding-bottom: 5rpx;
        // border-bottom: 1rpx solid #faddeb;
        height: 60rpx;
        align-items: center;
        justify-content: space-between;

        .levelText {
            display: flex;

            // .levelIcon {
            //     width: 40rpx;
            //     height: 40rpx;
            //     margin-top: 8rpx;
            // }
            .levelText1 {
                margin-right: 10rpx;
                margin-top: 7rpx;
            }

        }

        .levelSelect_wrap {
            width: 200rpx;
            margin-top: 10rpx;
            margin-left: 20rpx;
            overflow: hidden;
            font-size: 40rpx;
            .levelSelect {
                .selectOld {
                    z-index: 10;
                    top: 700rpx;
                }

                .van-dropdown-item--down {
                    bottom: 0;
                }

                .van-dropdown-item {
                    left: 231px;
                    overflow: hidden;
                    position: fixed;
                    right: 0;
                    width: 250rpx;
                    height: 250rpx;
                    font-size: 40rpx;

                    .van-dropdown-item__option {
                        width: 155rpx;
                        
                    }

                    .van-dropdown-item__option--active {
                        width: 155rpx;
                        .van-dropdown-item__title {
                            color: var(--dropdown-menu-option-active-color, #ee0a24);
                            width: 190rpx;
                        }
                    }

                }
            }
        }
    }

    // 备注
    // .remark_wrap {
    //     margin-left: 40rpx;
    //     margin-top: 10rpx;
    //     display: flex;
    //     border-top: 1rpx solid #faddeb;
    //     .levelIcon {
    //         width: 40rpx;
    //         height: 40rpx;
    //         margin-top: 8rpx;
    //     }
    //     .inRemark{
    //         margin-left: 10rpx;
    //         margin-top: 5rpx;
    //     }
    // }

    .inPrice {
        margin-top: 10rpx;
        margin-left: 30rpx;
        margin-right: 30rpx;
        border-top: 1rpx solid #bebebe;
        border-bottom: 1rpx solid #bebebe;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 70rpx;
        font-size: 40rpx;
        // .inPriceIcon {
        //     width: 40rpx;
        //     height: 40rpx;
        // }
        .inPrice-right {
            width: 150rpx;
            display: flex;
            .price-sign {
                color: #e40a5e;
                font-weight: bolder;
                font-size: 40rpx;
            }
            .inPricetext{
              margin-top: 5rpx;  
            }
        }
    }

    // .input {
    //     margin: 10rpx 20rpx;
    //     font-size: 40rpx;
    // }

    .realPrice_wrap {
        display: flex;
        flex-direction: row-reverse;
        margin-right: 40rpx;
        margin-top: 10rpx;

        .realPrice {
            font-size: 30rpx;
        }
    }

    .publish_wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 50rpx;

        .publish {
            background-color: #e40a5e;
            color: #fff;
            width: 40%;
            height: 70rpx;
            font-size: 35rpx;
            font-weight: bold;
            border-radius: 30rpx;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    }


}

// }
.product-container-wrap {
    display: flex;
    justify-content: center;
    .product-container {
        background-color: #fff;
        width: 95%;
        border-radius: 25rpx;

        .product-top_wrap {
            .Down {
                margin-top: 10rpx;
                margin-left: 20rpx;
                font-size: 35rpx;
                font-weight: bolder;
                color: #e40a5e;
            }
        }

        .product-item-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            .product-item {
                display: flex;
                padding-top: 20rpx;
                padding-bottom: 20rpx;
                width: 97%;
                border-bottom: 1rpx solid #c5c1c1;
                position: relative;
                .product_img {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    margin-left: 10rpx;
                    .goods-img {
                        height: 200rpx;
                        width: 150rpx;
                    }
                }

                .product-movable-item {
                    margin-left: 20rpx;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-around;
                    .goods-name {
                        flex: 1;
                        display: -webkit-box;
                        overflow: hidden;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 1;
                        color: black;
                        // font-weight: bolder;
                        font-size: 35rpx;
                    }

                    /* 标签的样式 */
                    .goods-mess {
                        flex: 2;
                        display: flex;
                        margin-top: 10rpx;
                        width: 450rpx;
                        color: #fff;
                        justify-content: space-between;
                        .goods_injure,
                        .goods_notes,
                        .goods_edition {
                            font-size: 25rpx;
                            border-radius: 25rpx;
                            background-color: #e40a5e;
                            width: 140rpx;
                            height: 40rpx;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            font-weight: bold;
                        }
                    }

                    .goods-price {
                        flex: 1;
                        color: rgb(237, 58, 58);
                        display: flex;
                        justify-content: space-between;
                    }
                }
                .product_change{
                    position: absolute;
                    right: 10rpx;
                    bottom: 10rpx;
                }
                .change_wrap{
                    display: flex;
                    flex-direction: column;
                    width: 150rpx;
                    height: 200rpx;
                    border: 1rpx solid #c9bfbf;
                    border-radius: 10rpx;
                    position: absolute;
                    right: 60rpx;
                    bottom: -150rpx;
                    z-index: 50;
                    background-color: #fff;
                    .modify,.under,.delete{
                        display: flex;
                        justify-content: space-around;
                        align-items: center;
                        padding: 10rpx 10rpx;
                        .modify_icon,.under_icon,.delete_icon{
                            width: 45rpx;
                            height: 45rpx;
                        }
                        .modify_text,.under_text,.delete_text{
                            font-size: 35rpx;
                        }
                    }
                    .modify,.under{
                        border-bottom: 1rpx solid #c9bfbf;
                    }
                }
            }
            // 去除最后一个元素的下横线
            .product-item:last-child {
                border-bottom: 1rpx solid #f9f8f8;
            }
        }
    }
}
#em{
     margin-top: 30rpx;
}

// 弹窗的样式
.rule-windows {
    width: 90%;
    height: 950rpx;
    background-color: white;
    position: fixed;
    bottom: 150rpx;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 38rpx;
    border-radius: 25rpx;

    .rule-title {
        color: #e40a5e;
        font-size: 50rpx;
        font-weight: bolder;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 20rpx 0rpx;
    }

    .body {
        font-size: 30rpx;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 75%;
        width: 90%;
        .title{
            font-weight: bold;
        }
    }

    .rule-bottom {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #e40a5e;
        width: 70%;
        height: 80rpx;
        color: #fff;
        font-size: 40rpx;
        font-weight: bolder;
        border-radius: 30rpx;
        margin-top: 20rpx;
    }

}

// 下架提示的样式
.tips{
    color: #bebebe;
    // position: fixed;
    // top: 150rpx;
    // left: 20%;
    font-size: 30rpx;
    height: 70rpx;
    display: flex;
    justify-content: center;
    align-items: center;
}
// 底部上传书籍样式
.bot{
    // overflow: hidden;
    background-color: #fff;
    position: fixed;
    bottom: -10rpx;
    width: 100%;
    height: 130rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    .bottom-wrap {
        .bottom {
            background-color: #e40a5e;
            width: 100rpx;
            height: 100rpx;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            .add {
                color: #fff;
                font-size: 100rpx;
                margin-bottom: 20rpx;
            }
        }
    }
}
